﻿using LibraryManagementSystem.Models;
using System.Threading.Tasks;

namespace LibraryManagementSystem.Services.Interfaces
{
    public interface IUserService
    {
        Task<User> Authenticate(string username, string password);
        Task<bool> Register(User user, string password);
        Task<bool> IsUsernameAvailable(string username);
    }
}